home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 2
/
Apprentice-Release2.iso
/
Tools
/
MPW
/
GCC 1.37.1r15
/
Tests
/
float-const.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1993-03-03
|
180 b
|
13 lines
|
[
TEXT/MPS
]
#include <stdio.h>
void main()
{
int i;
long double x = 0.0;
fprintf(stdout, "%d\n", sizeof(x));
for (i = 0; i < 10; ++i) {
x += 0.5;
}
fprintf(stdout, "x = %g\n", x);
}